package com.study.security.core.social.qq.connect;

import com.study.security.core.social.qq.api.QQ;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;

/**
 * @author LiYongKui
 * @version 1.0
 * @date 2021/4/1 17:32
 */
public class QQConnectFactory extends OAuth2ConnectionFactory<QQ> {

    public QQConnectFactory(String providerId, String appId, String appSecret) {
        super(providerId, new QQServiceProvider(appId,appSecret), new QQAdapter());
    }

}
